const http = uni.$u.http;

export const smsSend = (params, config = {}) => http.post('send/sms', params, config)
export const upload = (params, config = {}) => http.upload('upload', params, config)
export const setting = (params, config = {}) => http.post('setting', params, config)

export const register = (params, config = {}) => http.post('register', params, config)
export const login = (params, config = {}) => http.post('login', params, config)
export const loginCode = (params, config = {}) => http.post('login/code', params, config)

export const userLogoff = (params, config = {}) => http.post('user/logoff', params, config)
export const userIsopen = (params, config = {}) => http.post('user/isopen', params, config)
export const userInfo = (params, config = {}) => http.post('user/info', params, config)
export const userRole = (params, config = {}) => http.post('user/role', params, config)
export const userEdit = (params, config = {}) => http.post('user/edit', params, config)

export const userEditPassword = (params, config = {}) => http.post('user/edit/password', params, config)
export const userLog = (params, config = {}) => http.post('user/log', params, config)

export const userRoleSelect = (params, config = {}) => http.post('user/role/select', params, config)
export const userRealname = (params, config = {}) => http.post('user/realname', params, config)
export const userProduct = (params, config = {}) => http.post('user/product', params, config)

export const userSellPrice = (params, config = {}) => http.post('user/sell/price', params, config)
export const userSellIndex = (params, config = {}) => http.post('user/sell/index', params, config)
export const userSellLists = (params, config = {}) => http.post('user/sell/lists', params, config)
export const userSellSell = (params, config = {}) => http.post('user/sell/sell', params, config)
export const userSellBuy = (params, config = {}) => http.post('user/sell/buy', params, config)
export const userSellCancel = (params, config = {}) => http.post('user/sell/cancel', params, config)
export const userSellHistory = (params, config = {}) => http.post('user/sell/history', params, config)
export const userSon = (params, config = {}) => http.post('user/son', params, config)
export const userSonTwo = (params, config = {}) => http.post('user/son/two', params, config)
export const userFiveAdd = (params, config = {}) => http.post('user/five/add', params, config)
export const userFiveAddall = (params, config = {}) => http.post('user/five/addall', params, config)

export const userLevelUpgrade = (params, config = {}) => http.post('user/level/upgrade', params, config)
export const userSilverTurn = (params, config = {}) => http.post('user/silver/turn', params, config)
export const userIntegralExchangeGet = (params, config = {}) => http.post('user/integral/exchange/get', params, config)
export const userIntegralExchange = (params, config = {}) => http.post('user/integral/exchange', params, config)
export const userWallet = (params, config = {}) => http.post('user/wallet', params, config)
export const userAlchemyGet = (params, config = {}) => http.post('user/alchemy/get', params, config)
export const userAlchemy = (params, config = {}) => http.post('user/alchemy', params, config)
export const findPassword = (params, config = {}) => http.post('find/password', params, config)

export const newLists = (params, config = {}) => http.post('new/lists', params, config)
export const newInfo = (params, config = {}) => http.post('new/info', params, config)

export const purchaseLists = (params, config = {}) => http.post('purchase/lists', params, config)
export const purchaseInfo = (params, config = {}) => http.post('purchase/info', params, config)
export const productExchangeGet = (params, config = {}) => http.post('product/exchange/get', params, config)
export const productExchange = (params, config = {}) => http.post('product/exchange', params, config)

export const orderPlace = (params, config = {}) => http.post('order/place', params, config)
export const orderInfo = (params, config = {}) => http.post('order/info', params, config)
export const orderLists = (params, config = {}) => http.post('order/lists', params, config)
export const orderPayment = (params, config = {}) => http.post('order/payment', params, config)
export const orderCancel = (params, config = {}) => http.post('order/cancel', params, config)
export const orderSell = (params, config = {}) => http.post('order/sell', params, config)
export const orderSellBuy = (params, config = {}) => http.post('order/sell/buy', params, config)
export const orderOpen = (params, config = {}) => http.post('order/open', params, config)
export const orderSellList = (params, config = {}) => http.post('order/sell/list', params, config)
export const orderSellInfo = (params, config = {}) => http.post('order/sell/info', params, config)
export const orderProp = (params, config = {}) => http.post('order/prop', params, config)
export const orderProductnameSet = (params, config = {}) => http.post('order/productname/set', params, config)
export const orderRegularBuy = (params, config = {}) => http.post('order/regular/buy', params, config)

export const productLists = (params, config = {}) => http.post('product/lists', params, config)
export const productInfo = (params, config = {}) => http.post('product/info', params, config)
export const productSilverBuy = (params, config = {}) => http.post('product/silver/buy', params, config)

export const ticketIndex = (params, config = {}) => http.post('ticket/index', params, config)
export const ticketDeposit = (params, config = {}) => http.post('ticket/deposit', params, config)
export const ticketMy = (params, config = {}) => http.post('ticket/my', params, config)
export const ticketTake = (params, config = {}) => http.post('ticket/take', params, config)

export const composeLists = (params, config = {}) => http.post('compose/lists', params, config)
export const composeInfo = (params, config = {}) => http.post('compose/info', params, config)
export const composeOperate = (params, config = {}) => http.post('compose/operate', params, config)

export const antiqueRole = (params, config = {}) => http.post('antique/role', params, config)
export const antiqueIdentify = (params, config = {}) => http.post('antique/identify', params, config)

export const industryIndex = (params, config = {}) => http.post('industry/index', params, config)
export const industryUnlock = (params, config = {}) => http.post('industry/unlock', params, config)
export const industryJoin = (params, config = {}) => http.post('industry/join', params, config)
export const industryInfo = (params, config = {}) => http.post('industry/info', params, config)
export const industryRemove = (params, config = {}) => http.post('industry/remove', params, config)
export const industryUpgrade = (params, config = {}) => http.post('industry/upgrade', params, config)
export const industryReceive = (params, config = {}) => http.post('industry/receive', params, config)
export const industrySupplement = (params, config = {}) => http.post('industry/supplement', params, config)
export const industrySupplementAll = (params, config = {}) => http.post('industry/supplement/all', params, config)

export const skillMy = (params, config = {}) => http.post('skill/my', params, config)
export const skillInfo = (params, config = {}) => http.post('skill/info', params, config)
export const skillCarry = (params, config = {}) => http.post('skill/carry', params, config)
export const skillCarryCancel = (params, config = {}) => http.post('skill/carry/cancel', params, config)
export const skillSell = (params, config = {}) => http.post('skill/sell', params, config)
export const skillPropUse = (params, config = {}) => http.post('skill/prop/use', params, config)
export const skillComposeGet = (params, config = {}) => http.post('skill/compose/get', params, config)
export const skillComposeSet = (params, config = {}) => http.post('skill/compose/set', params, config)
export const skillResolve = (params, config = {}) => http.post('skill/resolve', params, config)

export const silverPhb = (params, config = {}) => http.post('silver/phb', params, config)
export const antiqueMy = (params, config = {}) => http.post('antique/my', params, config)

export const pursueIndex = (params, config = {}) => http.post('pursue/index', params, config)
export const pursueJoin = (params, config = {}) => http.post('pursue/join', params, config)
export const pursueRoom = (params, config = {}) => http.post('pursue/room', params, config)

export const pursueSwitchRoom = (params, config = {}) => http.post('pursue/switch/room', params, config)
export const pursueResult = (params, config = {}) => http.post('pursue/result', params, config)
export const pursueList = (params, config = {}) => http.post('pursue/list', params, config)
export const pursuePhb = (params, config = {}) => http.post('pursue/phb', params, config)

export const shopProductLists = (params, config = {}) => http.post('shop/product/lists', params, config)
export const shopProductInfo = (params, config = {}) => http.post('shop/product/info', params, config)
export const shopOrderPlace = (params, config = {}) => http.post('shop/order/place', params, config)
export const shopOrderInfo = (params, config = {}) => http.post('shop/order/info', params, config)
export const shopOrderPayment = (params, config = {}) => http.post('shop/order/payment', params, config)
export const shopOrderLists = (params, config = {}) => http.post('shop/order/lists', params, config)
export const shopOrderCancel = (params, config = {}) => http.post('shop/order/cancel', params, config)
export const shopOrderComplete = (params, config = {}) => http.post('shop/order/complete', params, config)
// export const shopOrderPayment = (params, config = {}) => http.post('shop/order/payment', params, config)

export const region = (params, config = {}) => http.post('region', params, config)
export const regionAll = (params, config = {}) => http.post('region/all', params, config)

export const shopUseraddressGet = (params, config = {}) => http.post('shop/useraddress/get', params, config)
export const shopUseraddressSet = (params, config = {}) => http.post('shop/useraddress/set', params, config)

export const pledgeIndex = (params, config = {}) => http.post('pledge/index', params, config)
export const pledgeOperate = (params, config = {}) => http.post('pledge/operate', params, config)
export const pledgeLog = (params, config = {}) => http.post('pledge/log', params, config)

export const advertCan = (params, config = {}) => http.post('advert/can', params, config)
export const productAdvert = (params, config = {}) => http.post('product/advert', params, config)